export const contractSidebarRoutes = [
    {
        permissions: ['contract'],
        path: '/contract',
        name: 'Contract',
        component: () => import('@/layout/index.vue'),
        meta: {title: '合同管理', componentName: 'Contract', icon: 'excel'},
        children: [
            {
                path: 'home',
                component: () => import('@/views/contract/home/home.vue'),
                name: 'ConHome',
                meta: {title: '合同首页', icon: 'dashboard'}
            },
            {
                path: 'notifyMessage',
                component: () => import('@/views/contract/notifyMessage/messageListMain.vue'),
                name: 'ConNotifyMessage',
                meta: {title: '合同通知消息', icon: 'log'}
            },
            {
                permissions: ['con:fileTemplate:page'],
                path: 'template',
                component: () => import('@/views/contract/fileTemplate/templateList.vue'),
                name: 'ConTemplate',
                meta: {title: '合同模板管理', icon: 'dict'}
            },
            {
                permissions: ['con:my:page'],
                path: 'my',
                component: () => import('@/views/contract/my/contractListMain.vue'),
                name: 'ConMy',
                meta: {title: '我的合同', icon: 'list'}
            },
            {
                permissions: ['con:process:page'],
                path: 'process',
                component: () => import('@/views/contract/process/contractListMain.vue'),
                name: 'ConProcess',
                meta: {title: '办理合同', icon: 'form'}
            },
            {
                permissions: ['con:dept:page'],
                path: 'dept',
                component: () => import('@/views/contract/dept/contractListMain.vue'),
                name: 'ConDept',
                meta: {title: '部门合同', icon: 'form'}
            },

        ]
    }
]